// 创建store
import { configureStore } from '@reduxjs/toolkit'
// 引入slice
import countSlice from './slice'
const store = configureStore({
  reducer: {
    xxx: countSlice.reducer, //就是自动生成reducer函数
  },
})

export default store
